syntax = "proto3";

option java_package = "${classInfo.basePackage}.model";
option java_outer_classname = "${classInfo.className}Model";

package ${classInfo.basePackage}.model;
import "zeus/base.proto";

message ${classInfo.className}Info {
<#list classInfo.fieldList as fieldItem>
    ${fieldItem.fieldProtoType} ${fieldItem.fieldName} = ${fieldItem_index + 1};
</#list>
}

message SaveAllRequest {
    repeated ${classInfo.basePackage}.model.${classInfo.className}Info ${classInfo.className}InfoList = 1;
}

message SaveAllResponse {
    com.quancheng.zeus.model.BaseResponse base = 1;
    int32 saved = 2;
}